<?php

namespace app\controller;

use think\facade\Request;

class Error
{
  // public function index()
  // {
  //   echo "<h2 style='color:red'>控制器不存在</h2>";
  // }

  public function __call($name, $argument)
  {
    $c = Request::controller();
    echo "<h2><span style='color:red'>{$c}{$name}</span>控制器不存在</h2>";
  }
}
